package com.hyk.mapper;

import com.hyk.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hyk.entity.response.Permission;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hyk
 * @since 2021-03-16
 */
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> selectMenuList();

    List<Permission> selectAllMenu();

    List<Menu> selectMenuByRole(String role);
}
